import Layout from "./view/layout/index";
import { HashRouter, Route, Switch } from "react-router-dom";
import Login from './view/login/index'
const App = () => {
  return (
    <HashRouter>
      <Switch>
        <Route exact path='/login' component={Login} ></Route> 
        <Route path='/' component={Layout} ></Route> 
      </Switch>
    </HashRouter>
  );
};
export default App;
